//
//  SafeThreePeopleCell.h
//  Estate
//
//  Created by wangdongdong on 2017/10/9.
//  Copyright © 2017年 ttsx. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface SafeThreePeopleCell : UITableViewCell<UITextViewDelegate>

// 名字
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;

// 职位
@property (weak, nonatomic) IBOutlet UILabel *positionLabel;

// 职称
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;

// 分割线
@property (weak, nonatomic) IBOutlet UIView *lineView;

// 状态
@property (weak, nonatomic) IBOutlet UIButton *state;

// 证书是否查验
@property (weak, nonatomic) IBOutlet UILabel *certificateInspectionLabel;
@property (weak, nonatomic) IBOutlet UISwitch *certificateInspectionSwitch;

// 证书是否有效
@property (weak, nonatomic) IBOutlet UILabel *certificateValidLabel;
@property (weak, nonatomic) IBOutlet UISwitch *certificateValidSwitch;

// 评价
@property (weak, nonatomic) IBOutlet UILabel *appraiseLabel;
@property (weak, nonatomic) IBOutlet UISwitch *appraiseSwitch;

// 其他说明
@property (weak, nonatomic) IBOutlet UILabel *otherLabel;
@property (weak, nonatomic) IBOutlet BRPlaceholderTextView *otherText;

#pragma MARK - 回调block
typedef void(^callBlock)(NSString *str);

/**是否到岗*/
@property (copy, nonatomic) callBlock stateBlock;
/**证书是否查验*/
@property (copy, nonatomic) callBlock certificateInspectionBlock;
/**证书是否有效*/
@property (copy, nonatomic) callBlock certificateValidBlock;
/**评价*/
@property (copy, nonatomic) callBlock appraiseBlock;
/**其他说明*/
@property (copy, nonatomic) callBlock otherTextBlock;

// 是否可编辑
- (void)isNoEdit;

@end


